package com.lzxzjy.serivce;

import com.lzxzjy.pojo.Admin;
import com.lzxzjy.pojo.PageBean;

public interface AdminService {
    boolean insertAdmin(Admin admin);

    PageBean<Admin> selectAdminByPageAndTerms(Admin admin, int currentPage, int pageSize);

    boolean deleteAdminByIds(int[] adminIds);

    boolean deleteAdminById(int adminId);

    boolean updateAdminById(Admin admin);

    String selectAdminNameByUsernameAndPassWord(String username, String password);
}
